package com.bwie.user.service.impl;

import com.bwie.common.domain.po.UserPo;
import com.bwie.user.mapper.UserMapper;
import com.bwie.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    /**
     * 用户名登录
     */
    @Override
    public UserPo login(String userName) {
        return userMapper.login(userName);
    }
}
